package com.wzdigit.wms.basic.client.response.basic;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.wzdigit.wms.basic.client.BasicResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 批次属性 输出
 * @author yangdongjie
 * @LotAttr.java
 * @2021年1月19日下午2:01:04
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = false)
public class LotAttrResponse extends BasicResponse {

	private static final long serialVersionUID = 8944932007153129733L;

	/**
	 * 批次属性ID
	 */
	@ApiModelProperty(value = "批次属性ID", required = true)
	private Integer lotAttrId;
	
	/**
	 * 批次属性规则代码
	 */
	@ApiModelProperty(value = "批次属性规则代码", required = true)
    private String lotAttrCode;

	/**
	 * 描述
	 */
	@ApiModelProperty(value = "描述", required = true)
    private String description;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注", required = false)
    private String comments;

	/**
	 * 是否有效
	 */
	@ApiModelProperty(value = "是否有效", required = true)
    private Integer isEnabled;
	
	/**
	 * 是否允许修改
	 */
	@ApiModelProperty(value = "是否允许修改", required = true)
    private boolean allowUpdate;
}